<link rel="stylesheet" href="/lib/bootstrap/table/table.min.css">
<!-- Latest compiled and minified JavaScript -->
<script src="/lib/bootstrap/table/table.min.js"></script>
<!-- Latest compiled and minified Locales -->
<script src="/lib/bootstrap/table/table-zh-CN.min.js"></script>
<script src="/js/list.js"></script>
<div class="content-main">
    <div class="container">
        <div class="table-content">
            <div id="table-toolbar">
                <button id="btn-add" class="btn btn-info" onclick="window.location.href='/doc/edit'">
                    <i class="glyphicon glyphicon-add"></i> 创建文档
                </button>
            </div>
            <table id="table-list"
                   data-toolbar="#table-toolbar"
                   data-classes="table table-hover"
                   data-striped="true" data-pagination="true" data-search="true"
                   data-search-on-enter-key="true"
                   data-sort-name="uploadTime"
                   data-sort-order="desc"
                   data-detail-view="true"
                   data-page-list="[5,10,25,100]"
                   data-show-refresh="true"
                   data-show-columns="true"
                   data-url="/doc/list.do" style="word-break:break-all; word-wrap:break-all;">
            </table>
        </div>
    </div>
</div>